import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import uView from "uview-ui";


App.mpType = 'app'

const app = new Vue({
  ...App
})
// 引入请求封装，将app参数传递到配置中
require('services/request.js')(app)

Vue.config.productionTip = false
Vue.use(uView);
//引入接口
import api from '@/api/index.js'
Vue.use(api, app)

import auth from '@/services/auth'
Vue.use(auth, app)

app.$mount()
